package com.ghh.service;

import com.ghh.entity.PageResult;
import com.ghh.entity.QueryPageBean;
import com.ghh.pojo.Permission;

import java.util.List;

/**
 * 权限管理。
 */
public interface PermissionService {
    PageResult pageQuery(QueryPageBean queryPageBean);
    Permission findById(Integer id);
    void edit(Permission permission);
    void deleteById(Integer id);
    void addPermission(Permission permission);
    List<Permission> findAll();
}
